package com.example.takeaway.entity;


import java.util.Date;
import java.util.List;

public class Orders {

  private Long orderid;
  private String ordersn;
  private Long userid;

  private Long merchantid;

  public Long getMerchantid() {
    return merchantid;
  }

  public void setMerchantid(Long merchantid) {
    this.merchantid = merchantid;
  }

  private Long receiveaddressid;
  private Double amount;
  private Long paytype;
  private Long state;
  private Date createtime;
  private Date modifytime;
  private String note;
  private Date paytime;
  private Date deliverytime;
  private Date receivetime;

  private List<Orderdetail> orderdetailsList;

  private List<Merchant> merchantList;

  public List<Merchant> getMerchantList() {
    return merchantList;
  }

  public void setMerchantList(List<Merchant> merchantList) {
    this.merchantList = merchantList;
  }

  public List<Orderdetail> getOrderdetailsList() {
    return orderdetailsList;
  }

  public void setOrderdetailsList(List<Orderdetail> orderdetailsList) {
    this.orderdetailsList = orderdetailsList;
  }

  public Long getOrderid() {
    return orderid;
  }

  public void setOrderid(Long orderid) {
    this.orderid = orderid;
  }


  public String getOrdersn() {
    return ordersn;
  }

  public void setOrdersn(String ordersn) {
    this.ordersn = ordersn;
  }


  public Long getUserid() {
    return userid;
  }

  public void setUserid(Long userid) {
    this.userid = userid;
  }


  public Long getReceiveaddressid() {
    return receiveaddressid;
  }

  public void setReceiveaddressid(Long receiveaddressid) {
    this.receiveaddressid = receiveaddressid;
  }


  public Double getAmount() {
    return amount;
  }

  public void setAmount(Double amount) {
    this.amount = amount;
  }


  public Long getPaytype() {
    return paytype;
  }

  public void setPaytype(Long paytype) {
    this.paytype = paytype;
  }


  public Long getState() {
    return state;
  }

  public void setState(Long state) {
    this.state = state;
  }


  public Date getCreatetime() {
    return createtime;
  }

  public void setCreatetime(Date createtime) {
    this.createtime = createtime;
  }


  public Date getModifytime() {
    return modifytime;
  }

  public void setModifytime(Date modifytime) {
    this.modifytime = modifytime;
  }


  public String getNote() {
    return note;
  }

  public void setNote(String note) {
    this.note = note;
  }


  public Date getPaytime() {
    return paytime;
  }

  public void setPaytime(Date paytime) {
    this.paytime = paytime;
  }


  public Date getDeliverytime() {
    return deliverytime;
  }

  public void setDeliverytime(Date deliverytime) {
    this.deliverytime = deliverytime;
  }


  public Date getReceivetime() {
    return receivetime;
  }

  public void setReceivetime(Date receivetime) {
    this.receivetime = receivetime;
  }

}
